package org.jeecg.modules.asset.hirelist.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.asset.hirelist.entity.Hirelist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: HireList
 * @Author: jeecg-boot
 * @Date:   2020-03-31
 * @Version: V1.0
 */
public interface HirelistMapper extends BaseMapper<Hirelist> {

    @Select("SELECT * FROM HireList WHERE HireGUID = #{hireguid} ")
    List<Hirelist> getByHireGuid(String hireguid);

    @Select("SELECT * FROM HireList WHERE State = '未交' and HireGUID = #{hireguid} ")
    List<Hirelist> getWeiJiaoByHireGuid(String hireguid);
}
